//
//  HMRankDataCollectionCell.m
//  HowToDo
//
//  Created by 胡坤 on 2017/1/5.
//  Copyright © 2017年 KY. All rights reserved.
//

#import "HMRankDataCollectionCell.h"
#import "HTDRankData.h"
@interface HMRankDataCollectionCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconImgView;
@property (weak, nonatomic) IBOutlet UIImageView *accessoryImgView;
@property (weak, nonatomic) IBOutlet UILabel *soureceNameLable;
@end
@implementation HMRankDataCollectionCell

-(void)awakeFromNib
{
    [super awakeFromNib];
}
- (void)setRankData:(HTDRankData *)rankData
{
    _rankData = rankData;
    [self.iconImgView sd_setImageWithURL:[NSURL URLWithString:rankData.image_url]];
    self.soureceNameLable.text = rankData.resource_name;
}
@end
